home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17556 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: butterfly.hjs.com!not-for-mail
  2. From: root@butterfly.hjs.com (John Flinchbaugh)
  3. Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
  4. Subject: C style formatting (was Re: Young programmers read me.)
  5. Followup-To: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
  6. Date: 16 Apr 1996 06:55:17 -0400
  7. Organization: Happy John Software
  8. Message-ID: <4kvual$26t@butterfly.hjs.com>
  9. References: <4icpp9$7hr@barad-dur.nas.com>
  10. Reply-To: glynis@yrkpa.kias.com
  11. NNTP-Posting-Host: localhost
  12. X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
  13.  
  14. > That way you can store the code in "crammed" format to save disk space, and
  15. > convert it to your favorite style to work on it...and everyone can look at
  16. > it in *their* preferred format and the arguments over where the braces go,
  17. > or how many columns to use (80? 132? 547?) can disappear forever.
  18. > Anyone got such a program?  Writing it shouldn't be hard if you can define
  19. > the style-definition-file format (user interfaces are always the hardest
  20. > part :^).
  21.  
  22. There's the 'indent' utility under unix.  The version on my linux box
  23. is quit comprehensive, letting you define every little detail about
  24. the style you might care to set.
  25.  
  26. Warning though, it DOESN'T work on C++ files!
  27. -- 
  28. _____________________}John Flinchbaugh{_______________________
  29. | -> glynis@yrkpa.kias.com <-  http://yrkpa.kias.com/~glynis |
  30. |  jmflinch@cs.millersv.edu   jmf89784@marauder.millersv.edu |
  31. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  32.